<template>
    <div id="bg-sn">
        <div class="bg">
            <img src="@/assets/img/2.jpg" style="width: 100%">
        </div>
        <el-container>
            <el-main>
                <div class="login-box-sn">
                    <sb-login></sb-login>
                </div>
            </el-main>
        </el-container>
    </div>
</template>

<script>

    import Login from '@/components/login/LoginCard.vue';

    export default {

        name: "login",
        components: {
            sbLogin:Login
        }
    }
</script>


<style lang="less" scoped>

    .login-box-sn {
        width: 450px;
        height: 300px;
        /*background: #ffffff;*/
        border-radius: 3px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -80%);
    }

    #bg-sn{
        /*位置设置/测试边框*/
        width: 100%;
        height: 100%;
        overflow: hidden;
        /*position: absolute;*/
        /*显示和宽高设置*/
        /*样式设置*/
        background: #0086b3 !important;
        /*盒子模型的属性*/
        /*文本字体*/
        /*动画特效*/
    }

</style>
